package org.istt.domain;

import static javax.persistence.GenerationType.IDENTITY;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.OneToMany;
import javax.persistence.Table;

/**
 * File entity. @author MyEclipse Persistence Tools
 */
@Entity(name ="fileDieuChinhGPXD")
@Table(name ="TBL_FILE_DIEU_CHINH_GPXD", schema ="dbo", catalog ="onegate")
public class FileDieuChinhGPXD extends BaseObject<Long> implements java.io.Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -1392103101254166475L;
    private String chu_cong_trinh;
    private String cmnd_donvi_cap;
    private String cmnd_ngay_cap ;
    private String cmnd_so ;
    private String ct_duong;
    private String ct_phuong ;
    private String ct_quan ;
    private String ct_so ;
    private String dia_chi ;
    private String dien_thoai;
    private String donvi_cap ;
    private String duong ;
    private String email ;
    private Set<FileAttachment> fileAttachments = new HashSet<FileAttachment>(0);
    private String fileCode;
    private String gpxd_cu_ngay_cap ;
    private String gpxd_cu_noi_cap ;
    private String gpxd_moi_so ;
    private String ho_ten;
    private Long id;
    private Date ngay_nop;
    private String noi_dung_dieu_chinh ;
    private String phuong;
    private String quan;
    private Boolean received;
    private String so_nha;
    private String ten_lien_he ;
    private String notify_message;
	public void setNotify_message(String notify_message) {
		this.notify_message = notify_message;
	}

	@Column(name="NOTIFY_MESSAGE")
	public String getNotify_message() {
		return notify_message;
	}
    private String thoi_gian_hoan_thanh;
    private String thu_tuc;
	@Override
	public boolean equals(Object o) {
		
		return false;
	}

	@Column(name="CHU_CONG_TRINH")
	public String getChu_cong_trinh() {
		return chu_cong_trinh;
	}
	@Column(name="CMND_DONVI_CAP")
	public String getCmnd_donvi_cap() {
		return cmnd_donvi_cap;
	}

	@Column(name="CMND_NGAY_CAP")
	public String getCmnd_ngay_cap() {
		return cmnd_ngay_cap;
	}

	@Column(name="CMND_SO")
	public String getCmnd_so() {
		return cmnd_so;
	}

	@Column(name="CT_DUONG")
	public String getCt_duong() {
		return ct_duong;
	}
	
    
    @Column(name="CT_PHUONG")
	public String getCt_phuong() {
		return ct_phuong;
	}

	@Column(name="CT_QUAN")
	public String getCt_quan() {
		return ct_quan;
	}


	@Column(name="CT_SO")
	public String getCt_so() {
		return ct_so;
	}

	@Column(name="DIA_CHI")
	public String getDia_chi() {
		return dia_chi;
	}

	@Column(name="DIEN_THOAI")
	public String getDien_thoai() {
		return dien_thoai;
	}

	@Column(name="DONVI_CAP")
	public String getDonvi_cap() {
		return donvi_cap;
	}

	@Column(name="DUONG")
	public String getDuong() {
		return duong;
	}

	@Column(name="EMAIL")
	public String getEmail() {
		return email;
	}

	@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY, mappedBy = "fileDieuChinhGPXD")
	public Set<FileAttachment> getFileAttachments() {
		return fileAttachments;
	}

	@Column(name="FILE_CODE")
	public String getFileCode() {
		return fileCode;
	}

	@Column(name="GPXD_CU_NGAY_CAP")
	public String getGpxd_cu_ngay_cap() {
		return gpxd_cu_ngay_cap;
	}
	@Column(name="GPXD_CU_NOI_CAP")
	public String getGpxd_cu_noi_cap() {
		return gpxd_cu_noi_cap;
	}
	@Column(name="GPXD_MOI_SO")
	public String getGpxd_moi_so() {
		return gpxd_moi_so;
	}

	
	@Column(name="HO_TEN")
	public String getHo_ten() {
		return ho_ten;
	}


	@Id @GeneratedValue(strategy=IDENTITY)
    @Column(name="ID", unique = true, nullable=false)
	public Long getId() {
		return id;
	}

	@Column(name="NGAY_NOP")
	public Date getNgay_nop() {
		return ngay_nop;
	}

	@Column(name="NOI_DUNG_DIEU_CHINH")
	public String getNoi_dung_dieu_chinh() {
		return noi_dung_dieu_chinh;
	}

	@Column(name="PHUONG")
	public String getPhuong() {
		return phuong;
	}

	@Column(name="QUAN")
	public String getQuan() {
		return quan;
	}

	@Column(name="TIEP_NHAN")
	public Boolean getReceived() {
		return received;
	}

	@Column(name="SO_NHA")
	public String getSo_nha() {
		return so_nha;
	}

	@Column(name="TEN_LIEN_HE")
	public String getTen_lien_he() {
		return ten_lien_he;
	}

	@Column(name="THOI_GIAN_HOAN_THANH")
	public String getThoi_gian_hoan_thanh() {
		return thoi_gian_hoan_thanh;
	}

	@Column(name="THU_TUC")
	public String getThu_tuc() {
		return thu_tuc;
	}

	@Override
	public int hashCode() {
		
		return 0;
	}

	public void setChu_cong_trinh(String chu_cong_trinh) {
		this.chu_cong_trinh = chu_cong_trinh;
	}

	public void setCmnd_donvi_cap(String cmnd_donvi_cap) {
		this.cmnd_donvi_cap = cmnd_donvi_cap;
	}

	public void setCmnd_ngay_cap(String cmnd_ngay_cap) {
		this.cmnd_ngay_cap = cmnd_ngay_cap;
	}

	public void setCmnd_so(String cmnd_so) {
		this.cmnd_so = cmnd_so;
	}

	public void setCt_duong(String ct_duong) {
		this.ct_duong = ct_duong;
	}

	public void setCt_phuong(String ct_phuong) {
		this.ct_phuong = ct_phuong;
	}

	public void setCt_quan(String ct_quan) {
		this.ct_quan = ct_quan;
	}

	public void setCt_so(String ct_so) {
		this.ct_so = ct_so;
	}

	public void setDia_chi(String dia_chi) {
		this.dia_chi = dia_chi;
	}

	public void setDien_thoai(String dien_thoai) {
		this.dien_thoai = dien_thoai;
	}

	public void setDonvi_cap(String donvi_cap) {
		this.donvi_cap = donvi_cap;
	}

	public void setDuong(String duong) {
		this.duong = duong;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public void setFileAttachments(Set<FileAttachment> fileAttachments) {
		this.fileAttachments = fileAttachments;
	}

	public void setFileCode(String fileCode) {
		this.fileCode = fileCode;
	}

	public void setGpxd_cu_ngay_cap(String gpxd_cu_ngay_cap) {
		this.gpxd_cu_ngay_cap = gpxd_cu_ngay_cap;
	}

	public void setGpxd_cu_noi_cap(String gpxd_cu_noi_cap) {
		this.gpxd_cu_noi_cap = gpxd_cu_noi_cap;
	}

	public void setGpxd_moi_so(String gpxd_moi_so) {
		this.gpxd_moi_so = gpxd_moi_so;
	}

	public void setHo_ten(String ho_ten) {
		this.ho_ten = ho_ten;
	}


	public void setId(Long id) {
		this.id = id;
	}
	
	public void setNgay_nop(Date ngay_nop) {
		this.ngay_nop = ngay_nop;
	}
	public void setNoi_dung_dieu_chinh(String noi_dung_dieu_chinh) {
		this.noi_dung_dieu_chinh = noi_dung_dieu_chinh;
	}

	public void setPhuong(String phuong) {
		this.phuong = phuong;
	}
	public void setQuan(String quan) {
		this.quan = quan;
	}

	public void setReceived(Boolean received) {
		this.received = received;
	}

	public void setSo_nha(String so_nha) {
		this.so_nha = so_nha;
	}

	public void setTen_lien_he(String ten_lien_he) {
		this.ten_lien_he = ten_lien_he;
	}

	public void setThoi_gian_hoan_thanh(String thoi_gian_hoan_thanh) {
		this.thoi_gian_hoan_thanh = thoi_gian_hoan_thanh;
	}

	public void setThu_tuc(String thu_tuc) {
		this.thu_tuc = thu_tuc;
	}

	@Override
	public String toString() {
		
		return null;
	}
	
	
}